package com.gxa.ssm340.entity.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
@ApiModel("兑换商品实体类")
@Data
public class Goods implements Serializable {
    @ApiModelProperty(name = "id",notes = "兑换商品编号",dataType = "integer",required = false)
    private Integer id;
    @ApiModelProperty(name = "name",notes = "名称",dataType = "string",required = true)
    private String name;
    @ApiModelProperty(name = "integral",notes = "消耗积分",dataType = "integer",required = true)
    private Integer integral;
    @ApiModelProperty(name = "specification",notes = "规格",dataType = "String",required = true)
    private String specification;
    @ApiModelProperty(name = "number",notes = "数量",dataType = "integer",required = true)
    private Integer number;
    @ApiModelProperty(name = "image",notes = "缩略图",dataType = "String",required = true)
    private String image;
}
